{include file='yxworker/w_head2'}
        <header class="order_header" style="font-size: 0.4rem;">
            <div class="go_back">
                <a style="color: #ffffff" href="/{php echo createMobileUrl('w_index',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                返回首页</a>
            </div>
            联盟商排名
        </header>

<!--         <div class="s_items s_bg lm_items">

            <div class="lm_btn">
                <img src="{$_G['URL']['WORKER_CSS']}images/lm_03.png">新增联盟商
            </div>
        </div>
 -->

        <div class="s_items">
            <div class="s_title" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                联盟商总排行{if !empty($notworker)}【{$notworker}个定单无客服】{/if}
            </div>
            <!--  -->
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 5%;color: #198bcb; text-align: right;">排名</td>
                        <td style="color: #198bcb">联盟商</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'fee'));}">实收</a></td>
                        {if $myworker['level'] == '1' }
                        <td style="color: #198bcb">明细</td>
                        {/if}
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $company $index $item}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                        <td >{$item['newfans']}</td>
                        <td style="color: #198bcb">{$item['forward']}</td>
                        <td >{$item['scansum']}</td>
                        <td style="color: #198bcb">{$item['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$item['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$item['fee']}</td>
                        {if $myworker['level'] == '1' }
                        <td><a style="color: #198bcb;" href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'company'=>$item['company']));}">查看</a></td>
                        {/if}
                        <td> </td>
                    </tr>
                    {/loop}                    
                </tbody>
            </table>
        </div>


        <div class="s_items">
            <div class="s_title" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                联盟商今日排行榜
            </div>
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 5%;color: #198bcb; text-align: right;">排名</td>
                        <td style="color: #198bcb">联盟商</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $companytoday $index $item}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                        <td >{$item['newfans']}</td>
                        <td style="color: #198bcb">{$item['forward']}</td>
                        <td >{$item['scansum']}</td>
                        <td style="color: #198bcb">{$item['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$item['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$item['fee']}</td>
                        <td> </td>
                    </tr>
                    {/loop}                    
                </tbody>
            </table>
        </div>


        <div class="s_items">
            <div class="s_title" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                联盟商昨日排行榜
            </div>
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 5%;color: #198bcb; text-align: right;">排名</td>
                        <td style="color: #198bcb">联盟商</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $companyyesterday $index $item}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                        <td >{$item['newfans']}</td>
                        <td style="color: #198bcb">{$item['forward']}</td>
                        <td >{$item['scansum']}</td>
                        <td style="color: #198bcb">{$item['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$item['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$item['fee']}</td>
                        <td> </td>
                    </tr>
                    {/loop}                    
                </tbody>
            </table>
        </div>


        <div class="s_items">
            <div class="s_title" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                联盟商前日排行榜
            </div>
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 5%;color: #198bcb; text-align: right;">排名</td>
                        <td style="color: #198bcb">联盟商</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $companybeforeyesterday $index $item}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                        <td >{$item['newfans']}</td>
                        <td style="color: #198bcb">{$item['forward']}</td>
                        <td >{$item['scansum']}</td>
                        <td style="color: #198bcb">{$item['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$item['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$item['fee']}</td>
                        <td> </td>
                    </tr>
                    {/loop}                    
                </tbody>
            </table>
        </div>

        <div class="item" style="padding: 0.5rem; line-height: 0.4rem;text-align: center;">
            <p>未出现在排行榜中的，代表当日没有任何宣传。</p>
            <p style="color: #198bcb">点击标题可按关键字排名</p>
            <!-- <p>点击姓名可查该员工的日报</p> -->
            <!-- <p>点击成交数字可查对应数据</p> -->
        </div>
{include file='yxworker/w_foot_yixuan'}